package com.woniu.park.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author cxb
 * @since 2020-09-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sp_transfer_info")
public class TransferInfo implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 交易流水编号
     */
    @TableId(value = "transfer_info_id", type = IdType.AUTO)
    private Integer transferInfoId;

    /**
     * 当前消费用户id
     */
    private Integer transferInfoUserId;

    /**
     * 支付宝交易号
     */
    private String tradeNo;

    /**
     * 下单时间
     */
    private Date transferInfoTime;

    /**
     * 消费总金额
     */
    private Double transferInfoMoney;

    /**
     * 0:未支付  1：已支付
     */
    private Integer transferInfoStatus;

    private int transferOrderId;//订单id

}
